package resoft.jeasyform.components;

/**
 * <p>Menu</p>
 * User: albert
 * Date: Aug 30, 2007
 * Time: 4:30:19 AM
 */
public class Menu {


    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    /**
     * get root menuitem
     *
     * @return MenuItem root menu item
     */
    public MenuItem getRootMenuItem() {
        return rootMenuItem;
    }

    private MenuItem rootMenuItem = new MenuItem();
    private int x = 0;
    private int y = 0;
}

